﻿<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>xGetStatusThreadID（获取线程状态根据TID）</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<P>函数原型：<br>Function xGetStatusThreadID(tid As Integer) As Integer<br>int xGetStatusThreadID(int tid);</P>
<P>VB、VBS、按键精灵声明：<br>Declare Function Lib "xTask.dll" xGetStatusThreadID(ByVal tid As Long) As Long</P>
<P>参数：<br>tid：线程ID</P>
<P>运行中返回true，已结束返回false</P>
<P>说明：<br>根据线程TID获取指定线程是否在运行。</P>
</body>
</html>